#ifndef MY_PLUGIN_H
#define MY_PLUGIN_H
#include <flutter_linux/flutter_linux.h>
#include <iostream>
#include <cstdio>
#include <string>
#include <cstring>

G_BEGIN_DECLS

#ifdef MY_PLUGIN_IMPL
#define MY_PLUGIN_EXPORT __attribute__((visibility("default")))
#else
#define MY_PLUGIN_EXPORT
#endif

typedef struct _MyPlugin MyPlugin;
typedef struct
{
  GObjectClass parent_class;
} MyPluginClass;

MY_PLUGIN_EXPORT GType my_plugin_get_type();

MY_PLUGIN_EXPORT void my_plugin_register_with_registrar(FlPluginRegistrar *registrar);

G_END_DECLS

void MyPluginRegister(FlPluginRegistry *registry);
gchar *getArgument(FlMethodCall *method_call, gchar *name);
#endif